package cn.platform.response;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class ActivityVO {
    private String id;
    private String title ;
    private String publisher;
    private String content;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate pubTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate updateTime;
    private String classNum;
    private Integer grade;
    private Integer gradeYear;
}
